import { createApp } from "vue";
import "./app.less";
import { createUI } from "taro-ui-vue3";
import "taro-ui-vue3/dist/style/index.scss";
import { createPinia } from "pinia";

const App = createApp({
  onLaunch() {},
  onShow(options) {
    console.log("App onShow.2", options);
    const { query } = options || {};
    const { mc_from } = query || {};
    if (mc_from) {
      console.log("mc_form", mc_from);
    }
  },
  // 入口组件不需要实现 render 方法，即使实现了也会被 taro 所覆盖
});
App.use(createPinia());
App.use(createUI());
export default App;
